﻿namespace ComponentSystem.Sample
{
    /// <summary>
    /// 实体示例
    /// </summary>
    public class EntityMonoDemo : EntityMono
    {
        public override void Initialization()
        {
            base.Initialization();
            Add_Coms();
        }

        protected void Add_Coms()
        {
            var component1 = this.AddComponentCSharp<ComponentDemo_1>();
            var component2 = this.AddComponentCSharp<ComponentDemo_2>();
        }
    }

}